﻿(function () {
    'use strict';
    var app = angular.module('app');

    app.controller("scheduleLegendCtrl", ["$scope", "scheduleService", function($scope, scheduleService) {
       scheduleService.getScheduleTypes().then(function(result) {
            $scope.items = result;
            console.log(result);
        });
        
    }]);

}());
